﻿
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace HandleSign.Models
{
    public  class SystemDataSetModel
    {
        public int tercount { get; set; }
        public int holdtime { get; set; }
        public int usecoutn { get; set; }
        public int chenum { get; set; }
        public int TimeSetE { get; set; }
        public int TimeSetS { get; set; }
        public string GroupId { get; set; }


        public string toString() {

            return "SystemDataSetModel [tercount=" + tercount + ", holdtime=" + holdtime
               + ", usecoutn=" + usecoutn + ", chenum = " + chenum + ", TimeSetE=" + TimeSetE + " , TimeSetS = " + TimeSetS + "]";

        }



    }


    public class TimeInfoList
    {

        public List<TimeInfo> timeList { get; set; }
        //  public List<ClassInfo> classList { get; set; }


        public string toString()
        {
            string TimeInfoStr = string.Empty;
            foreach (TimeInfo t in timeList)
            {
                TimeInfoStr += "\r\n" + t.toString();

            }
            return TimeInfoStr;

        }
    }

    public class TimeInfo {
        public int timeNum { get; set; }
        public string stime { get; set; }
        public string etime { get; set; }
        public string groupId { get; set; }

        public string toString()
        {
            return "TimeInfo [groupId=" + groupId + ", timeNum=" + timeNum + ", stime=" + stime
               + ", etime=" + etime + "]";

        }

    }



    public class BaseInfo {

        public List<TerminalInfo> terminalList { get; set; }
      //  public List<ClassInfo> classList { get; set; }
    }

    //public class ClassInfo {

    //    public int classId2task { get; set; }
    //    public string scanTaskNum { get; set; }

    //}

    public class TerminalInfo {

        public int roomId { get; set; }
        public string terminalId { get; set; }
    }


}